home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 22
/
Amiga Format AFCD22 (Jan 1998, Issue 106).iso
/
-seriously_amiga-
/
shareware
/
programming
/
other
/
modemlink
/
examples
/
devicestuff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-11-05
|
600b
|
19 lines
#ifndef DEVICES_STUFF_H
#define DEVICE_STUFF_H
#include <exec/types.h>
#include <exec/io.h>
#include <exec/ports.h>
int OpenTimerDevice(struct MsgPort **TimerMP, struct timerequest **TimerIO);
int OpenSerialDevice(struct MsgPort **SerMP, struct IOExtSer **SerIO, char *SerName, LONG Unit);
int TimedIO(struct IORequest *IOReq, int TimeOut);
void DoAbortIO(struct IORequest *IO);
void SafeCloseDevice(struct MsgPort *MP, struct IORequest *IO);
int CloneIO(struct IORequest *IO, struct MsgPort **NewMP, struct IORequest **NewIO);
void DeleteIO_MP(struct MsgPort *MP, struct IORequest *IO);
#endif